import request from '@/utils/request'

// 查询基础劳动配置列表
export function listProldconfig(query) {
  return request({
    url: '/project/proldconfig/list',
    method: 'get',
    params: query
  })
}

// 查询基础劳动配置详细
export function getProldconfig(id) {
  return request({
    url: '/project/proldconfig/' + id,
    method: 'get'
  })
}

// 新增基础劳动配置
export function addProldconfig(data) {
  return request({
    url: '/project/proldconfig',
    method: 'post',
    data: data
  })
}

// 修改基础劳动配置
export function updateProldconfig(data) {
  return request({
    url: '/project/proldconfig',
    method: 'put',
    data: data
  })
}

// 删除基础劳动配置
export function delProldconfig(id) {
  return request({
    url: '/project/proldconfig/' + id,
    method: 'delete'
  })
}
